$('#userAddSave').click(function(){
	var $username = $('#username').val(), 
			$password = $('#password').val();
	var data = {
		username: $username,
		password: $password
	};
	$.ajax({
		url:'/api/user/add',
		type:'POST',
		data: data,
		success:function(){
			// console.info("success");
			window.location.href="/desktop";
		},
		error:function(){
			// console.info('fail');
			window.location.href="/desktop";
		}
	});
});
